package model;

public class Staff {

    private String staffId;
    private String userName;
    private String passWord;
    private String fullName;
    private String birthDay;
    private boolean genDer;
    private String email;
    private String phone;
    private String addRess;
    private Role rl;

    public Staff(String staffId, String userName, String passWord, String fullName, String birthDay, boolean genDer, String email, String phone, String addRess, Role rl) {
        this.staffId = staffId;
        this.userName = userName;
        this.passWord = passWord;
        this.fullName = fullName;
        this.birthDay = birthDay;
        this.genDer = genDer;
        this.email = email;
        this.phone = phone;
        this.addRess = addRess;
        this.rl = rl;
    }

    public Staff() {
    }

    public String getStaffId() {
        return staffId.toUpperCase();
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public boolean isGenDer() {
        return genDer;
    }

    public void setGenDer(boolean genDer) {
        this.genDer = genDer;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddRess() {
        return addRess;
    }

    public void setAddRess(String addRess) {
        this.addRess = addRess;
    }

    public Role getRl() {
        return rl;
    }

    public void setRl(Role rl) {
        this.rl = rl;
    }

    @Override
    public String toString() {
        return this.fullName;
    }
    
    
}
